<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>前端用户编辑--${site.name}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="description" content="${site.description}"/>
    <meta name="keywords" content="${site.keywords}"/>
    <meta name="author" content="${site.author}"/>
    <link rel="icon" href="${site.logo}">
    <link rel="stylesheet" href="${base}/static/layui/css/layui.css" media="all" />
</head>
<body class="childrenBody">
<form class="layui-form" >
    <input readonly value="${commonUser.id}" name="id" type="hidden">
    <div class="layui-form-item">
        <label class="layui-form-label">用户昵称</label>
        <div class="layui-input-block">
                <input readonly  type="text" class="layui-input" value = "${commonUser.username}" name="username"  >

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机号码</label>
        <div class="layui-input-block">
                <input readonly  type="text" class="layui-input" value = "${commonUser.phone}" name="phone"  >

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">性别</label>
        <div class="layui-input-block">
                <input readonly  type="text" class="layui-input" value = "${commonUser.sex}" name="sex"  >

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">openid</label>
        <div class="layui-input-block">
                <input readonly  type="text" class="layui-input" value = "${commonUser.wxopenid}" name="wxopenid"  >

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">unionid</label>
        <div class="layui-input-block">
                <input readonly  type="text" class="layui-input" value = "${commonUser.wxunionid}" name="wxunionid"  >

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">注册时间</label>
        <div class="layui-input-block">
                <input readonly type="text" name="regtime" id="regtime" <#if (commonUser.regtime)??>value="${commonUser.regtime?string('yyyy-MM-dd HH:mm')}"</#if>  lay-verify="date"  autocomplete="off" class="layui-input">

        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">头像</label>
        <div class="layui-input-block">
                <input  type="hidden" class="layui-input" name="photo" id="photo" value="${commonUser.photo}" >
                <div class="layui-upload">
                    <div class="layui-upload-list">
                        <img  style="width:80px;height:80px;"  class="layui-upload-img" id="demo_photo" <#if (commonUser.photo??)>src="${commonUser.photo}"</#if> >
                        <p id="demoText_photo"></p>
                    </div>
                </div>

        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
             <button class="layui-btn layui-btn-primary" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name)); ">关闭</button>
        </div>
    </div>
</form>
<script type="text/javascript" src="${base}/static/layui/layui.js"></script>
<script>
</script>
</body>
</html>